﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;

namespace UmlControlLibrary
{
    public class UmlDiagramControlContextMenu:UmlContextMenu
    {
        public UmlDiagramControlContextMenu()
            : base()
        {
            MenuItem item = GetSubMenu("Add");
            item.Items.Add(GetMenuPlaceHolder("Add"));
            AddChild(item);

            item = GetSubMenu("File");
            item.Items.Add(GetMenuItem("Open",null));
            item.Items.Add(GetMenuItem("Save",null));
            item.Items.Add(GetMenuItem("Save as",null));
            item.Items.Add(GetMenuSeparator());
            item.Items.Add(GetMenuItem("Import XMI",null));
            item.Items.Add(GetMenuItem("Export XMI",null));

            AddChild(item);
        }
    }
}
